﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleFileManager.Manager
{
    public class Drive : FilePanelItem
    {
        public Drive(string name)
            : base(name,FilePanelItemType.Drive)
        {
        }

        public Drive(string name,IFolderIterator iterator)
            : base(name,FilePanelItemType.Drive,iterator)
        {
        }

        public override long Size
        {
            get { return 0; }
        }

        public override DateTime LastAccessTime
        {
            get { return DateTime.MaxValue; }
        }

        public override void Move(string path)
        {
        }

        public override void Create(string name)
        {
        }

        public override void Copy(string path)
        {
        }

        public override void MakeAction(Manager.FileManager.FilePanel filePanel)
        {
            filePanel.ChangeFolder(Name);
        }

        public override void Delete()
        {
        }

        public override void Add(IFilePanelItem item)
        {
        }

        public override void Remove(IFilePanelItem item)
        {
        }

        public override void Rename(string newName)
        {
        }
    }
}
